<template>
    <div class="mainview-container">
        {{ name }}
    </div>
</template>

<script lang="ts">
export default {
    name: 'MainView',
    data() {
        return {
            name: '小明'
        }
    },
    mounted() {
        const name: string = 'xx';
        console.log(name);
    }
}
</script>

<style lang="scss">

</style>